package org.edu.modules.stu.shet.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import java.math.BigDecimal;
import java.sql.Date;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-社团缴费标准
 */
@TableName("ve_stu_assoc_funds_standard")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="社团缴费标准对象", description="ve_stu_assoc_funds_standard")
public class VeStuAssocFundsStandard extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "学期id")
        private Integer semesterId;

    @TableField
    @ApiModelProperty(value = "缴费名称")
    @Length(max = 50)
        private String name;

    @TableField
    @ApiModelProperty(value = "应缴费金额")
        private BigDecimal money;

    @TableField
    @ApiModelProperty(value = "创建时间")
        @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd")
        private Date addTime;
}
